/**
 * inforcreation.com co.Ltd
 * MichaelHuang
 * 2011-12-21
 */
package com.zchat.api.protocal.xml;

import java.io.IOException;
import java.io.InputStream;
import java.util.Map;

import org.xmlpull.v1.XmlPullParserException;

/**
 * interface for procotol
 * @author MichaelHuang
 *
 */
public interface XMLProtocal {

	/**
	 * parse input stream by the default procotol.
	 * @param in
	 */
	public Map<String, Object> parse(InputStream in) throws XmlPullParserException, IOException;
}
